package com.wutuo.child.api.request;

/**
 * 孩子 <br>
 * 
 * @author lvh
 * @version 1.0
 */

public class ListChildRequest extends ChildRequest {

    public ListChildRequest() {
        this.setDelFlag(true);
    }

    private Integer page = 1;

    private Integer size = 10;

    public Integer getIndex() {

        return (page - 1) * size;
    }

    public Integer getPage() {

        return page < 1 ? 1 : page;
    }

    public Integer getSize() {

        return size;
    }

    public void setPage(Integer page) {

        this.page = page;
    }

    public void setSize(Integer size) {

        this.size = size;
    }

}